\hypertarget{format__hus_8c}{}\doxysubsection{extern/libembroidery/src/formats/format\+\_\+hus.c File Reference}
\label{format__hus_8c}\index{extern/libembroidery/src/formats/format\_hus.c@{extern/libembroidery/src/formats/format\_hus.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}../embroidery\+\_\+internal.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{format__hus_8c_a7ec967d53a40e6d8e160b289edcf1e60}{hus\+Decode\+Stitch\+Type}} (unsigned char b)
\item 
unsigned char $\ast$ \mbox{\hyperlink{format__hus_8c_acb698d8b966efc749dc448453f7ac074}{hus\+Decompress\+Data}} (unsigned char $\ast$input, int compressed\+Input\+Length, int decompressed\+Content\+Length)
\item 
unsigned char $\ast$ \mbox{\hyperlink{format__hus_8c_a57846ef4f4df5008f4f89e42cc4356e8}{hus\+Compress\+Data}} (unsigned char $\ast$input, int decompressed\+Input\+Size, int $\ast$compressed\+Size)
\item 
int \mbox{\hyperlink{format__hus_8c_ae44da0506699f96fd891292f7e275a73}{hus\+Decode\+Byte}} (unsigned char b)
\item 
unsigned char \mbox{\hyperlink{format__hus_8c_a92976733ccfe804f5d9705e184cf7cc2}{hus\+Encode\+Byte}} (\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} f)
\item 
unsigned char \mbox{\hyperlink{format__hus_8c_afb31a4deeebbe075c4cbeecbf2190bfe}{hus\+Encode\+Stitch\+Type}} (int st)
\item 
char \mbox{\hyperlink{format__hus_8c_a32dc0f3a80d04bf5da7e43ab8a0a2e9a}{read\+Hus}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\item 
char \mbox{\hyperlink{format__hus_8c_aaf00410a4837aac34d67149c659a33f8}{write\+Hus}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\end{DoxyCompactItemize}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{format__hus_8c_a57846ef4f4df5008f4f89e42cc4356e8}\label{format__hus_8c_a57846ef4f4df5008f4f89e42cc4356e8}} 
\index{format\_hus.c@{format\_hus.c}!husCompressData@{husCompressData}}
\index{husCompressData@{husCompressData}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{husCompressData()}{husCompressData()}}
{\footnotesize\ttfamily unsigned char $\ast$ hus\+Compress\+Data (\begin{DoxyParamCaption}\item[{unsigned char $\ast$}]{input,  }\item[{int}]{decompressed\+Input\+Size,  }\item[{int $\ast$}]{compressed\+Size }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__hus_8c_ae44da0506699f96fd891292f7e275a73}\label{format__hus_8c_ae44da0506699f96fd891292f7e275a73}} 
\index{format\_hus.c@{format\_hus.c}!husDecodeByte@{husDecodeByte}}
\index{husDecodeByte@{husDecodeByte}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{husDecodeByte()}{husDecodeByte()}}
{\footnotesize\ttfamily int hus\+Decode\+Byte (\begin{DoxyParamCaption}\item[{unsigned char}]{b }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__hus_8c_a7ec967d53a40e6d8e160b289edcf1e60}\label{format__hus_8c_a7ec967d53a40e6d8e160b289edcf1e60}} 
\index{format\_hus.c@{format\_hus.c}!husDecodeStitchType@{husDecodeStitchType}}
\index{husDecodeStitchType@{husDecodeStitchType}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{husDecodeStitchType()}{husDecodeStitchType()}}
{\footnotesize\ttfamily int hus\+Decode\+Stitch\+Type (\begin{DoxyParamCaption}\item[{unsigned char}]{b }\end{DoxyParamCaption})}

\hypertarget{format__hus_8c_husqvarna-hus-format}{}\doxyparagraph{Husqvarna Viking Embroidery Format (.\+hus)}\label{format__hus_8c_husqvarna-hus-format}
\index{hus@{hus}} \index{Husqvarna Viking@{Husqvarna Viking}}

Stitch Only Format. \mbox{\Hypertarget{format__hus_8c_acb698d8b966efc749dc448453f7ac074}\label{format__hus_8c_acb698d8b966efc749dc448453f7ac074}} 
\index{format\_hus.c@{format\_hus.c}!husDecompressData@{husDecompressData}}
\index{husDecompressData@{husDecompressData}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{husDecompressData()}{husDecompressData()}}
{\footnotesize\ttfamily unsigned char $\ast$ hus\+Decompress\+Data (\begin{DoxyParamCaption}\item[{unsigned char $\ast$}]{input,  }\item[{int}]{compressed\+Input\+Length,  }\item[{int}]{decompressed\+Content\+Length }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__hus_8c_a92976733ccfe804f5d9705e184cf7cc2}\label{format__hus_8c_a92976733ccfe804f5d9705e184cf7cc2}} 
\index{format\_hus.c@{format\_hus.c}!husEncodeByte@{husEncodeByte}}
\index{husEncodeByte@{husEncodeByte}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{husEncodeByte()}{husEncodeByte()}}
{\footnotesize\ttfamily unsigned char hus\+Encode\+Byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{f }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__hus_8c_afb31a4deeebbe075c4cbeecbf2190bfe}\label{format__hus_8c_afb31a4deeebbe075c4cbeecbf2190bfe}} 
\index{format\_hus.c@{format\_hus.c}!husEncodeStitchType@{husEncodeStitchType}}
\index{husEncodeStitchType@{husEncodeStitchType}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{husEncodeStitchType()}{husEncodeStitchType()}}
{\footnotesize\ttfamily unsigned char hus\+Encode\+Stitch\+Type (\begin{DoxyParamCaption}\item[{int}]{st }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__hus_8c_a32dc0f3a80d04bf5da7e43ab8a0a2e9a}\label{format__hus_8c_a32dc0f3a80d04bf5da7e43ab8a0a2e9a}} 
\index{format\_hus.c@{format\_hus.c}!readHus@{readHus}}
\index{readHus@{readHus}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{readHus()}{readHus()}}
{\footnotesize\ttfamily char read\+Hus (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__hus_8c_aaf00410a4837aac34d67149c659a33f8}\label{format__hus_8c_aaf00410a4837aac34d67149c659a33f8}} 
\index{format\_hus.c@{format\_hus.c}!writeHus@{writeHus}}
\index{writeHus@{writeHus}!format\_hus.c@{format\_hus.c}}
\doxyparagraph{\texorpdfstring{writeHus()}{writeHus()}}
{\footnotesize\ttfamily char write\+Hus (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

